14 while (s
.size() > 1 && s
[s
.size()-1] == '0') s
.erase(s
.size()-1);
15 while (t
.size() > 1 && t
[t
.size()-1] == '0') t
.erase(t
.size()-1);
16 int n
= max(s
.size(), t
.size());
18 for (int i
=0; i
<n
; ++i
){
30 if (carry
) r
+= carry
+ '0';
31 while (r
.size() > 1 && r
[0] == '0'){